package com.ctg.auth.dao;

import com.ctg.auth.bean.RolePermisssion;
import com.ctg.auth.bean.RolePermisssionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RolePermisssionMapper {
    int countByExample(RolePermisssionExample example);

    int deleteByExample(RolePermisssionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RolePermisssion record);

    int insertSelective(RolePermisssion record);

    List<RolePermisssion> selectByExample(RolePermisssionExample example);

    RolePermisssion selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RolePermisssion record, @Param("example") RolePermisssionExample example);

    int updateByExample(@Param("record") RolePermisssion record, @Param("example") RolePermisssionExample example);

    int updateByPrimaryKeySelective(RolePermisssion record);

    int updateByPrimaryKey(RolePermisssion record);
}